﻿using iWare.Wms.Core;
using Microsoft.AspNetCore.Mvc;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace iWare.Wms.Application
{
    public interface IWmsAreaService
    {
        Task Add(AddWmsAreaInput input);
        Task Delete(DeleteWmsAreaInput input);
        Task<WmsAreaOutput> Get([FromQuery] QueryeWmsAreaInput input);
        Task<List<WmsAreaOutput>> List([FromQuery] WmsAreaInput input);
        Task<PageResult<WmsAreaOutput>> Page([FromQuery] WmsAreaSearch input);
        Task Update(UpdateWmsAreaInput input);
    }
}